#include <stdio.h>

int main(void) {
    const int days[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
    int i;

    int len = sizeof days / sizeof days[0];
    for (i = 0; i < len; i++)
        printf("Month %2d has %2d days.\n", i + 1, *(days + i));

    return 0;
}
